package operation;

import Book.BookList;

public class ShowOperation implements Operation {
    @Override
    public void work(BookList bookList) {
        System.out.println("显示图书->");
        int tmp = bookList.getUsedSize();
        for (int i = 0; i < tmp; i++) {
            System.out.println(bookList.getBooks(i).toString());
        }
    }
}
